package com.psychology.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表;
 *
 * @author : whm
 * @date : 2025-3-19
 */
@ApiModel(value = "用户表", description = "")
@TableName("user")
@Data
public class UserEntity implements Serializable {
    /**
     * 用户ID
     */
    @ApiModelProperty(name = "用户ID", notes = "")
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 用户名
     */
    @ApiModelProperty(name = "用户名", notes = "")
    private String userName;

    @ApiModelProperty(name = "账号", notes = "")
    /**
     * 账号
     */
    private String accountId;
    /**
     * 密码
     */
    @ApiModelProperty(name = "密码", notes = "")
    private String password;
    /**
     * 角色
     */
    @ApiModelProperty(name = "角色", notes = "")
    private String role;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "创建时间", notes = "")
    private Date createrTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(name = "更新时间", notes = "")
    private Date updateTime;
}
